/*
 *      Created on: Feb 24, 2011
 *      Author: topcoder
 */

#ifndef Measure_H_
#define Measure_H_

#include <Unit.h>
#include <string>

class Measure
{
    public:
        Measure(unsigned long quantity, const Unit& unit);
        bool    operator == (const Measure& measure)const;
        Measure operator + (const Measure& measure)const;
	friend ostream & operator << (ostream & os, Measure & quantity)
        ostream print();

    private:
        Measure(unsigned long quantity, const UnitType& unitType);
        unsigned long quantity_m;
        UnitType unitType_m;
};

#endif /* Measure_H_ */
